package exercise;

public class EX02_Q18 {
	
	public static void main(String[] args) {
		// #18
		int number = 0;
		
		// a.
		number = 30;
		
		if (number % 2 ==0){
			System.out.println(number + " is even.");
		}
		
		System.out.println(number + " is odd.");
		
		// b.
		number = 35;
		
		if (number % 2 == 0){
			System.out.println(number + " is even.");
		}else
			System.out.println(number + " is odd.");

	}

}
